package com.wr.mapper;

import com.wr.model.User;

public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    User getByEmail(String email);

    User getUserByUserName(String username);

    User authLogin(User user);
}